CommonEvent 285
Name = "Vanilla's Shop: Grangold"

  999([277])
  ConditionalBranch([1, 1005, 0, 17, 0])
    ConditionalBranch([12, "sw(1066) || sw(1067)"])
      ConditionalBranch([0, 2065, 0])
        ConditionalBranch([0, 2264, 1])
          ConditionalBranch([0, 1066, 0])
            ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
            ShowText(["\\n<Vanilla>Pleased to meet you. I'm the merchant Vanilla. I'd like to stock high-rank elemental magic stones in my store, but..."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([0, 1067, 0])
            ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
            ShowText(["\\n<Vanilla>Pleased to meet you. I'm the merchant Vanilla. I'd like to stock high-rank elemental magic stones in my store, but..."])
            ShowText([""])
            ShowText([""])
            Empty([])

          BranchEnd([])
          ConditionalBranch([1, 1143, 0, 9, 2])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Item Seller>I can't help ya. Magic stones are supplied by the state mage corps lab."])
            ShowText([""])
            ShowText([""])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Item Seller>We've had a deal with them for ages, but I doubt a new merchant has much of a chance without connections to the royal palace..."])
            ShowText([""])
            ShowText([""])
            ConditionalBranch([0, 1066, 0])
              ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
              ShowText(["\\n<Vanilla>I have connections with the palace!\nLet's go talk to the court magician in the warehouse at once!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 1067, 0])
              ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
              ShowText(["\\n<Vanilla>I have connections with the palace!\nLet's go talk to the court magician in the warehouse at once!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ControlSwitches([2264, 2264, 0])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          ConditionalBranch([1, 1143, 0, 10, 1])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["\\n<Item Seller>Sure, that'll be fine.\nThe state mage corps labs are gone now, and they've let go of large quantities of their magic stones."])
            ShowText([""])
            ShowText([""])
            ConditionalBranch([0, 1066, 0])
              ShowTextAttributes(["vgirl_fc1", 0, 0, 2])
              ShowText(["\\n<Vanilla>Thank you very much! I look forward to dealing with you more in the future!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            ConditionalBranch([0, 1067, 0])
              ShowTextAttributes(["vgirl_fc3", 0, 0, 2])
              ShowText(["\\n<Vanilla>Thank you very much! I look forward to dealing with you more in the future!"])
              ShowText([""])
              ShowText([""])
              Empty([])

            BranchEnd([])
            PlayME(["RPG::ME(@name=\"fanfale\", @pitch=100, @volume=100)"])
            ShowTextAttributes(["", 0, 0, 2])
            ShowText(["Vanilla can now sell high-rank fire, ice, and lightning stones!"])
            ControlVariables([1005, 1005, 0, 0, 18])
            ControlSwitches([2065, 2065, 1])
            Wait([60])
            ExitEventProcessing([])
            Empty([])

          BranchEnd([])
          Empty([])

        BranchEnd([])
        Empty([])

      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  BranchEnd([])
  Empty([])
